Skip to content

Stop publishing nightly and master container images - #512

Merged
gdevenyi merged 2 commits into
masterfrom
ci/stop-nightly-builds
Sep 3, 2026
Merged

Stop publishing nightly and master container images#512
gdevenyi merged 2 commits into
masterfrom
ci/stop-nightly-builds

Conversation

@gdevenyi

@gdevenyi gdevenyi commented Sep 3, 2026

Copy link
Copy Markdown
Member

Summary

  • Remove the nightly cron and the push-on-master trigger from the Docker workflow. Only semver tag pushes publish to ghcr.io now.
  • Guard the image push on tag refs, so a manual workflow_dispatch on a branch builds but does not publish a branch-named image.
  • PR builds and the :latest retag of the newest release are unchanged.

The existing nightly and master images on ghcr.io are being removed separately. Until this merges, the cron on master keeps running and can recreate them.

🤖 Generated with Claude Code

https://claude.ai/code/session_01JbjzuSab2kesaLAq9wbw2B

Remove the nightly cron and the push-on-master trigger from the Docker
workflow so only semver tags publish to ghcr.io. Guard the image push on
tag refs so a manual dispatch on a branch cannot publish a branch-named
image.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JbjzuSab2kesaLAq9wbw2B
Copilot AI lite review requested due to automatic review settings September 3, 2026 02:04

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The workflow still appears to be able to publish to GHCR on non-tag runs via the :latest retag logic, which conflicts with the PR description’s “only semver tag pushes publish” guarantee.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

This PR updates the Docker publishing GitHub Actions workflow to stop producing “nightly” and “master”-triggered container images, shifting publishing to semver tag-driven releases while keeping PR builds.

Changes:

  • Removed the scheduled (cron) trigger for nightly publishing.
  • Removed the push-on-master trigger so non-tag commits no longer publish images.
  • Updated the Buildx step to only push images when the ref is a tag (github.ref_type == 'tag').
File summaries
File Description
.github/workflows/docker-publish.yml Removes cron/master publish triggers and gates image pushing to tag refs only.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 1
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

with:
context: .
push: ${{ github.event_name != 'pull_request' }}
push: ${{ github.ref_type == 'tag' }}
A branch workflow_dispatch could still re-point :latest through the
release lookup fallback. Run the login and the retag only on tag refs
and use the pushed tag name directly.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JbjzuSab2kesaLAq9wbw2B
@gdevenyi
gdevenyi merged commit f233a94 into master Sep 3, 2026
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants